package com.RPC0.service.impl;

import com.RPC0.server.RpcService;
import com.RPC0.service.HelloService;

/**
 * Author: <黄书根>
 * Time: 2017-07-31 13:35
 * Copyright (C) 2017 Xiamen Yaxon Networks CO.,LTD.
 */
@RpcService(name="com.RPC0.service.HelloService") // 指定远程接口
public class HelloServiceImpl implements HelloService {

    @Override
    public String hello(String name) {
        return "Hello! " + name;
    }
}

